set templatename=MinimalMvcV1
del Content\*.Zip
del *.exe
del *.vsi
del *.zip

cd Template
..\..\tools\7za a -r ..\Content\%templatename%.zip *.* -xr!*.svn 
cd ..\Content
..\..\tools\7za a -r ..\%templatename%.zip *.* -xr!*.svn 
cd ..
..\tools\MakeZipExe.exe -zipfile:%templatename%.zip
rename %templatename%.exe %templatename%.vsi
copy %templatename%.vsi ..\LatestVersion\%templatename%.vsi
pause

